void stepper_init();
int stepper_getpower();
void stepper_setpower(int mode);
int stepper_getmicro();
void stepper_setmicro(int mode);
int stepper_getdirection();
void stepper_setdirection(int mode);
int stepper_getM0();
void stepper_step();
int stepper_getposition();
void stepper_counter_reset();
int endswitch_getstatus();
void stepper_drive(int speed, int steps);